package com.example.goodsass.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.goodsass.domain.ArticleCategories;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author 31673
 * @description 针对表【article_categories】的数据库操作Mapper
 * @createDate 2025-04-07 20:45:14
 * @Entity generator.domain.ArticleCategories
 */
public interface ArticleCategoriesMapper extends BaseMapper<ArticleCategories> {
    ArticleCategories selById(String id);

    ArticleCategories selByName(String name);

    Integer updById(@Param(value = "articleCategories") ArticleCategories articleCategories);

    Integer delById(String id);

    List<ArticleCategories> selByPage(Integer pageNo, Integer pageSize);

    ArticleCategories selByNameOrName(String id, String name);
}




